package com.example.travel.mapper;

import com.example.travel.entity.Admin;
import com.example.travel.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

@Mapper
public interface LoginRegisterMapper {

    User login(User user);

    int isRegister(User user);

    int register(User user);

    Admin admin_login(Admin admin);

    int isRegisterEmail(User user);
}
